# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wgetpaste
pkgver=2.34
pkgrel=0
pkgdesc="Command-line interface to various pastebins"
url="http://wgetpaste.zlin.dk/"
arch="noarch"
license="MIT"
depends="wget bash"
options="!check" # no tests
subpackages="$pkgname-zsh-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/zlin/wgetpaste/archive/$pkgver.tar.gz"

package() {
	install -Dm755 wgetpaste "$pkgdir"/usr/bin/wgetpaste
	install -Dm644 _wgetpaste "$pkgdir"/usr/share/zsh/site-functions/_wgetpaste
}

sha512sums="
53f1d33f0e309d0d0889b6c440e2126132b8c83ba6e860e4e498141a2268060ca4dab6096780a8f6fa4ae8ec1d5314009d3d69b689270f78022d558b7060e4c5  wgetpaste-2.34.tar.gz
"
